const express = require('express');
const router = express.Router();
const utilFunc = require('../utilFunc');
const user = require('./admin/user');
const articles = require('./admin/articles');

router.get('/', (req, res) =>{
    const data = utilFunc.getResponseData();
    res.send(data);
});

router.use('/user', user);
router.use('/articles', articles);

module.exports = router;